<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <title>物料配置表</title>
</head>

<body>
  <div id="app">
    <div class="material-config">
      <el-tabs v-model="activeMenu" class="feddingBill full-tabs">
        <el-tab-pane lazy v-for="menu in menus" :key="menu.name" :label="menu.label" :name="menu.name">
          <component :is="menu.url" class="menu-item"></component>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</body>

<script src="myJs/importFile.js"></script>
<script>
  importFile([
    "/vueSystem/components/css/sysCommonSearch.css",
    "/vueSystem/components/css/searchBtnView.css",
    "./setHalfMaterial/css/materialConfig.css"
   ], [
    "/vueSystem/i18n/index.js",
    "/vueSystem/mixins/tableScrollEventMixin.js",
    "/vueSystem/js/storageUtil.js",
    "/vueSystem/js/dropdownUtil.js",
    "/vueSystem/js/checkVaildUtil.js",
    "/vueSystem/components/sysCommonSearch.js",
    "/vueSystem/components/searchBtnView.js",
    "/vueSystem/components/checkboxTableColumn.js",
    "/vueSystem/components/updateOrderImg.js"
  ]);
</script>
<script src="./setHalfMaterial/setMaterialTable.js"></script>
<script src="./setHalfMaterial/setHalfMaterialName.js"></script>
<script src="./setHalfMaterial/setHalfMaterialType.js"></script>
<script>
  var app = new Vue({
    el: "#app",
    data: function () {
      return {
        activeMenu: 'setMaterialTable',
        menus: [{
          label: "设置物料属性",
          name: "setMaterialTable",
          url: "set-material-table"
        }, {
          label: "设置半成品类型",
          name: "setHalfMaterialname",
          url: "set-half-materialname"
        }, {
          label: "设置半成品物料",
          name: "setHalfMaterialtype",
          url: "set-half-materialtype"
        }]
      };
    },
    components: {
      SetMaterialTable: SetMaterialTable,
      SetHalfMaterialname: SetHalfMaterialname,
      SetHalfMaterialtype: SetHalfMaterialtype
    }
  });
</script>
<style>
  .material-config {
    padding-left: 20px;
    height: 100%;
  }

</style>

</html>